package com.ziytek.web.citizen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.ziytek.web.citizen.constant.TableConstant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author fenghx
 * @version 1.0
 * @className ProgramVersionInfo
 * Description:
 * @date 2024/5/20 17:46
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = TableConstant.TABLE_PROGRAM_VERSION_INFO)
public class ProgramVersionInfo {
    @TableId(type = IdType.AUTO)
    @IsKey
    @IsAutoIncrement
    @Column
    private Integer id;

    @Column(name = "createTime", comment = "创建时间")
    private Long createTime;

    @Column(name = "updateTime", comment = "修改时间")
    private Long updateTime;

    @Column(comment = "机柜编号")
    private String cabinetNo;

    /**
     * 主控版本号
     */
    @Column(comment = "主控版本号")
    private String masterVersion;

    /**
     * 分控版本号
     * Map<String, String> controlVersion 字符串数据;
     */
    @Column(comment = "分控版本号")
    private String controlVersionMapJson;

}
